package com.abbcc.service.impl;

import org.springframework.stereotype.Service;

import com.abbcc.dao.ClientDAO;
import com.abbcc.helper.JavaMailHelper;
import com.abbcc.models.TdClient;
import com.abbcc.service.ClientService;

@Service
public class ClientServiceImpl extends ServiceImpl<TdClient,ClientDAO> implements ClientService{

	@Override
	public String sendEmail(String smtp, String email, String username,
			String password,String to, String title, String content) {
		return new JavaMailHelper().sendMail(smtp, email,
				username, password, to, "", "", title,
				content, "", "");
		
	}

}
